<?php

namespace app\index\model;

use think\Db;

class  Index {

	public  function    select(){


		$data=Db::query("SELECT *,a.id as a_id  ,a.name as a_name  ,b.name as b_name FROM  csad_production as a left join csad_prod_member as b on a.id=b.productid  where a.id>=2800   limit 5");
		return $data;


	}


	public  function up(){

      $data=Db::query("SELECT * FROM  csad_production  where id=222");
		return $data;


	}
}





?>